﻿namespace WMS6.Web.BillingServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="BillingOrderQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class BillingOrderQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DocIDField;
        [OptionalField]
        private string DocTypeField;
        [OptionalField]
        private string ExternalDocIDField;
        [OptionalField]
        private string IsPalletAuditField;
        [OptionalField]
        private string IsPalletInputField;
        [OptionalField]
        private string OwnerIDField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string DocID
        {
            get
            {
                return this.DocIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DocIDField, value))
                {
                    this.DocIDField = value;
                    base.RaisePropertyChanged("DocID");
                }
            }
        }

        [DataMember]
        public string DocType
        {
            get
            {
                return this.DocTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DocTypeField, value))
                {
                    this.DocTypeField = value;
                    base.RaisePropertyChanged("DocType");
                }
            }
        }

        [DataMember]
        public string ExternalDocID
        {
            get
            {
                return this.ExternalDocIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternalDocIDField, value))
                {
                    this.ExternalDocIDField = value;
                    base.RaisePropertyChanged("ExternalDocID");
                }
            }
        }

        [DataMember]
        public string IsPalletAudit
        {
            get
            {
                return this.IsPalletAuditField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsPalletAuditField, value))
                {
                    this.IsPalletAuditField = value;
                    base.RaisePropertyChanged("IsPalletAudit");
                }
            }
        }

        [DataMember]
        public string IsPalletInput
        {
            get
            {
                return this.IsPalletInputField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsPalletInputField, value))
                {
                    this.IsPalletInputField = value;
                    base.RaisePropertyChanged("IsPalletInput");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }
    }
}

